<template>
    <div class="loading"></div>
</template>

<script>
    export default {
        name: 'Loading' // 定义的组件名称 使用时写法：loading
    }
</script>

<style scoped>
    .loading {
        position: fixed;
        left: 0;
        top: 0;
        background: url('http://51self-service.cn/images/loading.svg') center center no-repeat #ffffff9c;
        width: 100vw;
        height: 100vh;
        z-index: 1000;
    }
</style>